gdk_win32_blit, don't get the size of the impl
authorAlexander Larsson <alexl@redhat.com>
Wed, 1 Jul 2009 11:33:06 +0000 (13:33 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 1 Jul 2009 11:33:06 +0000 (13:33 +0200)
gdk/win32/gdkdrawable-win32.c

index 8c0d026d7a0dc2ae86278d6a80e2a24e403fd9ff..1266a322ddc7a5d129a28c7120a8181ec3666d16 100644 (file)
@@ -1686,7 +1686,7 @@ _gdk_win32_blit (gboolean              use_fg_bg,
 
   hdc = gdk_win32_hdc_get (&draw_impl->parent_instance, gc, GDK_GC_FOREGROUND);
 
-  gdk_drawable_get_size (src, &src_width, &src_height);
+  gdk_drawable_get_size (src_impl->wrapper, &src_width, &src_height);
 
   if ((src_rgn = CreateRectRgn (0, 0, src_width + 1, src_height + 1)) == NULL)
     {